{"version":3,"sources":["presets.js"],"names":["BX","namespace","Filter","Presets","parent","this","presets","container","init","prototype","bindOnPresetClick","getPresets","forEach","current","bind","delegate","_onPresetClick","getAddPresetField","Utils","getByClass","getContainer","settings","classAddPresetField","getAddPresetFieldInput","classAddPresetFieldInput","clearAddPresetFieldInput","input","value","normalizePreset","node","hasClass","classPreset","findParent","className","deactivateAllPresets","self","classPresetCurrent","removeClass","createSidebarItem","id","title","isPinned","decl","block","text","util","htmlspecialcharsback","pinned","noEditPinTitle","getParam","editNameTitle","removeTitle","editPinTitle","dragTitle","activatePreset","preset","type","isNotEmptyString","getPresetNodeById","addClass","result","filter","data","length","getPresetId","updatePresetName","presetNode","name","nameNode","isDomNode","getPresetNameNode","html","removePreset","presetId","isDefault","currentPresetId","getCurrentPresetId","newPresets","postData","preset_id","is_default","getData","FILTER_ID","action","saveOptions","remove","isArray","params","ID","editablePresets","getSearch","resetPreset","pinPreset","GRID_ID","classPinnedPreset","event","presetData","target","preventDefault","currentTarget","getPreset","classPinButton","isEditEnabled","classPresetEditButton","enableEditPresetName","classPresetDeleteButton","IS_DEFAULT","classPresetDragButton","updateEditablePreset","currentPreset","ADDITIONAL","applyPreset","applyFilter","isTrusted","closePopup","isAddPresetEnabled","disableAddPreset","applyPinnedPreset","promise","getPinnedPresetId","pinnedPresetId","pinnedPresetNode","getPinnedPresetNode","clear","resetFilter","fields","getFilterFieldsValues","presetRows","getFields","map","curr","presetFields","preparePresetFields","FIELDS","TITLE","getPresetInput","ROWS","classPresetEditInput","classPresetNameEdit","focus","_onPresetNameInput","Search","inputValue","updatePreset","classPresetName","disableEditPresetName","blur","unbind","filtered","tmpPreset","clone","push","getPresetField","fieldName","field","isPlainObject","NAME","noValues","extendPreset","updatePresetFields","defaultPreset","index","someField","some","defCurr","defIndex","isEmptyField","TYPE","types","STRING","VALUE","SELECT","MULTI_SELECT","CUSTOM_DATE","days","months","years","CUSTOM_ENTITY","DEST_SELECTOR","VALUES","_label","_value","Object","keys","DATE","datesel","_datesel","SUB_TYPE","_from","_to","_quarter","_month","_year","_days","dateTypes","CURRENT_DAY","CURRENT_WEEK","CURRENT_MONTH","CURRENT_QUARTER","LAST_7_DAYS","LAST_30_DAYS","LAST_60_DAYS","LAST_90_DAYS","LAST_WEEK","LAST_MONTH","TOMORROW","YESTERDAY","NEXT_WEEK","NEXT_MONTH","NUMBER","CHECKBOX","getFieldListContainer","getBySelector","parentNode","classFileldControlList","getField","fieldData","tmpName","removeField","disableSaveFieldsSort","fieldsList","indexOf","unregisterDragItem","deleteField","currentPresetField","saveFieldsSort","removeFields","addField","control","controls","getControls","nodeName","getByTag","TABINDEX","parseInt","getAttribute","createControl","append","registerDragItem","createInputText","TEXTAREA","createTextarea","createSelect","createMultiSelect","createNumber","createDate","createCustomDate","createDestSelector","CUSTOM","createCustom","createCustomEntity","dataset","FieldController","Boolean","REQUIRED","removeButton","querySelector","removeNotCompareVariables","noClean","dateType","additionalDateTypes","FIND","key","EXACT","RANGE","PREV_DAY","NEXT_DAY","MORE_THAN_DAYS_AGO","AFTER_DAYS","PREV_DAYS","NEXT_DAYS","YEAR","MONTH","QUARTER","NONE","getFieldByName","isPresetValuesModified","currentPresetData","preparePresetSettingsFields","currentFields","comparedPresetFields","sortObject","comparedCurrentFields","every","objectsIsEquals","getAdditionalValues","notEmptyFields","removeSameProperties","object1","object2","removeAdditionalField","fieldListContainer","fieldNodes","replaced","IS_PRESET_FIELD","presetField","ITEMS","SUB_TYPES","_VALUE","disableFieldsDragAndDrop","cleanNode","classPresetField","isString","HTML","wrap","create","getHiddenElement","appendChild","enableFieldsDragAndDrop","showCurrentPresetFields","getCurrentPresetData","getCurrentPreset","currentId","currentData","getFilter","classPresetsContainer","getDefaultPresets","classDefaultFilter","dataId"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,aAQbD,GAAGE,OAAOC,QAAU,SAASC,GAE5BC,KAAKD,OAAS,KACdC,KAAKC,QAAU,KACfD,KAAKE,UAAY,KACjBF,KAAKG,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